From: Antoine Musso Date: Sun, 27 Nov 2005 14:50:12 +0000 (+0000) Subject: Wrap reference in an array X-Git-Tag: 1.6.0~1110 X-Git-Url: http://git.cyclocoop.org/%28%5B%5E/404?a=commitdiff_plain;h=8dc6f7c06549fcdbd625e9f11a3932c534053b7d;p=lhc%2Fweb%2Fwiklou.git Wrap reference in an array --- diff --git a/includes/Article.php b/includes/Article.php index 563191c5d2..76670c241e 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -2181,7 +2181,7 @@ class Article { global $wgDeferredUpdateList, $wgDBname, $wgMemc; global $wgMessageCache, $wgUser, $wgUseEnotif; - if ( wfRunHooks( 'ArticleEditUpdatesDeleteFromRecentchanges', &$this ) ) { + if ( wfRunHooks( 'ArticleEditUpdatesDeleteFromRecentchanges', array( &$this ) ) ) { wfSeedRandom(); if ( 0 == mt_rand( 0, 999 ) ) { # Periodically flush old entries from the recentchanges table.